<div class="row">
    <div class="col-lg-12">
        <div class="ibox ">
            <div class="ibox-title">
                <h5>开门记录信息</h5>
                <div class="ibox-tools" style="top:10px;">
                    <button type="button" v-if="viewMachineRecordInfo.index != 2" class="btn btn-primary btn-sm" style="margin-right:10px;"  v-on:click="_openSelectMachineRecordInfoModel()">
                        <i class="glyphicon glyphicon-search"></i> 选择开门记录</button>

                    <button type="button" v-if="viewMachineRecordInfo.index != 2" class="btn btn-primary btn-sm" v-on:click="_openAddMachineRecordInfoModel()">
                        <i class="glyphicon glyphicon-plus"></i> 添加开门记录</button>
                </div>
            </div>
            <div class="ibox-content">
                <div class="row">
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >设备编码：</label>
                            <label class="">{{viewMachineRecordInfo.machineCode}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >设备ID：</label>
                            <label class="">{{viewMachineRecordInfo.machineId}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >用户名称：</label>
                            <label class="">{{viewMachineRecordInfo.name}}</label>
                        </div>
</div>
</div>
<div class="row">
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >开门方式：</label>
                            <label class="">{{viewMachineRecordInfo.openTypeCd}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >用户手机号：</label>
                            <label class="">{{viewMachineRecordInfo.tel}}</label>
                        </div>
</div>
<div class="col-sm-4">
                        <div class="form-group">
                            <label class="col-form-label" >身份证：</label>
                            <label class="">{{viewMachineRecordInfo.idCard}}</label>
                        </div>
</div>
</div>

            </div>
        </div>
    </div>

    <vc:create name="addMachineRecord"
               callBackListener="viewMachineRecordInfo"
               callBackFunction="chooseMachineRecord"
    ></vc:create>


    <vc:create name="chooseMachineRecord"
               emitChooseMachineRecord="viewMachineRecordInfo"
               emitLoadData="viewMachineRecordInfo"
    ></vc:create>
</div>
